// 导入封装好的网络请求类工具
import request from '../../../../../utils/request.js';
// 封装各种接口请求
// export const 接口名 = () => Network.get('/路由',参数对象);
//通井钻具组合保存数据 
export const EditPigDrillrig = (form) => {
        return request({
            url: `/pigDrillrig/pigDrillrigUpdate`,
            method: 'put',
            data: form
        })
    }
    //通井钻具组合删除数据
export const DeletePigDrillrig = (mudpropertyid) => {
        return request({
            url: `/pigDrillrig/pigDrillrigDelete/${pigdrillrigid}`,
            method: 'delete'
        })
    }
    //通井钻具组合查询数据 
export const FindPigDrillrigByCondition = (wellQueryCondition) => {
        return request({
            url: '/pigDrillrig/findPigDrillrigByCondition',
            method: 'post',
            data: wellQueryCondition
        })
    }
    //通井钻具组合新增数据 
export const InsertPigDrillrig = (form) => {
    return request({
        url: "/pigDrillrig/pigDrillrigAdd",
        method: "post",
        data: form
    })
}